<!-- @section('title')
    问律师 @parent
@show

@section('content')
{{ HTML::style('css/questionlawyer.css')}}
{{ HTML::script('js/question/questionCreate.js') }}
{{ HTML::script('js/jquery.raty.js') }}
{{ HTML::script('js/question/limitTextarea.js') }}
{{ HTML::script('js/jquery.SuperSlide.2.1.1.js') }}
{{ HTML::script('js/jQuery-File-Upload-9.7.1/js/vendor/jquery.ui.widget.js') }}
{{ HTML::script('js/jQuery-File-Upload-9.7.1/js/jquery.iframe-transport.js') }}
{{ HTML::script('js/jQuery-File-Upload-9.7.1/js/jquery.fileupload.js') }} -->
<!--[if (gte IE 8)&(lt IE 10)]>
{{ HTML::script('js/jQuery-File-Upload-9.7.1/js/cors/jquery.xdr-transport.js') }}
<![endif]-->
<!-- <div class="contentbox">
	<div class="questionIssue">
		<div class="container">
			<form id="inquery_create_form" method="post" action="{{ route('center.question.create', array('type'=>'question')) }}">
				<div class="quesIssContext2">
					<div class="contxtborder">
						<div class="leftbox">
							<p>案件类型</p>
							<select name="cat_id" class="selt mr5 quesTitle" id="work_scope" >
								<option value="" selected="selected">请选择咨询的案件类型</option>
							</select>
							<p>咨询标题</p>
							<input name="title" type="text" id="title"  class="itxt quesTitle" maxlength="35" placeholder="请输入要咨询问题的标题" >
						</div>
						<div class="rightbox">
							<p>详情描述</p>
							<textarea  placeholder="请输入想要咨询的内容" id="content" class="itxtarea" maxlength="300"  name="content"></textarea>
						</div>
						<div class="upload_wrap">
							<span class="btn btn-success fileinput-button" title="支持jpg ,jpeg ,jpe ,png ,gif ,bmp ,docx ,doc格式文件，最多只能上传两个文件，每个文件不超过2M">
			                    <span>上传附件&nbsp;&nbsp;| </span>
			                    <i class="upload_annex"></i>
			                    <input id="avatar_file" type="file" name="files" multiple data-url="{{ Config::get('app.url') }}/question/upfiles" data-sequential-uploads="true" data-disabled="disabled">
			                </span>
			            </div>
					</div>
					<div class="caseType">
						<div class="filename">
							<ul>
							</ul>
						</div>
					</div>
					{{ Form::token() }}
					<div class="clearfix quesissSbmint">
						<input type="button" class="inpbg subAdvisory" value="提&nbsp;&nbsp;交" onload="javascript:window.reload()" />
					</div>
				</div>
			</form>
		</div>
	</div>
</div>	
<script type="text/javascript">
	var user_lawyer_url = "{{ route('lawyer.workscopes') }}";
	var register = "{{ Route('home.register') }}";
	var login = "{{ Route('home.login') }}";
	var attrUrl = "{{ Config::get('app.url') }}";
	var islogin = "{{ Auth::check() }}";
	var token = $("input:[name='_token']").val();
	var lawyer_evaluation_url = "{{ route('lawyer.all_evaluations') }}";
	$(function(){
	  $('#content').limitTextarea({
	    maxNumber:300,     //最大字数
	    position:'bottom', //提示文字的位置，top：文本框上方，bottom：文本框下方
	    onOk:function(){
	      $('#content').css('background-color','white');    
	    },               //输入后，字数未超出时调用的函数
	    onOver:function(){
	      $('#content').css('background-color','red');    
	    }                  //输入后，字数超出时调用的函数，这里把文本区域的背景变为粉红色   
	  });    
	});
</script>

@show -->